<?php

require('/opt/Smarty-2.6.21/Smarty.class.php');

$smarty = new Smarty();
if(empty($_GET['pag'])){
	$smaty->assign('pag','intro');
}else{
	if($_GET['pag']='Sw'){
		$smarty->assign('pag','software');
			}elseif($_GET['pag']='Hw'){
				$smarty->assign('pag','hardware');	
				}	
}
//links list	
$links = array('Sw'=>'software','Hw'=>'hardware','Li' =>'license');
$smarty->assign('links','$links');
	

$smarty->display('index.tpl');

?>

